#
# PySNMP MIB module HH3C-RS485-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///opt/mib/netdisco-mibs/h3c/hh3c-rs485.mib
# Produced by pysmi-0.3.4 at Thu Jan 27 18:22:43 2022
# On host loaclhost platform Linux version 3.10.0-1160.41.1.el7.x86_64 by user root
# Using Python version 3.6.8 (default, Nov 16 2020, 16:55:22) 
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection")
hh3cCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cCommon")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
NotificationType, Integer32, iso, ModuleIdentity, MibIdentifier, ObjectIdentity, Counter64, IpAddress, Counter32, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Bits, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Integer32", "iso", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "Counter64", "IpAddress", "Counter32", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Bits", "TimeTicks")
RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString")
hh3cRS485 = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 109))
if mibBuilder.loadTexts: hh3cRS485.setLastUpdated('200910210000Z')
if mibBuilder.loadTexts: hh3cRS485.setOrganization('Hangzhou H3C Technologies Co., Ltd.')
hh3cRS485Properties = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1))
hh3cRS485PropertiesTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1), )
if mibBuilder.loadTexts: hh3cRS485PropertiesTable.setStatus('current')
hh3cRS485PropertiesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: hh3cRS485PropertiesEntry.setStatus('current')
hh3cRS485RawSessionNextIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cRS485RawSessionNextIndex.setStatus('current')
hh3cRS485BaudRate = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("bautRate300", 1), ("bautRate600", 2), ("bautRate1200", 3), ("bautRate2400", 4), ("bautRate4800", 5), ("bautRate9600", 6), ("bautRate19200", 7), ("bautRate38400", 8), ("bautRate57600", 9), ("bautRate115200", 10))).clone('bautRate9600')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485BaudRate.setStatus('current')
hh3cRS485DataBits = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("five", 1), ("six", 2), ("seven", 3), ("eight", 4))).clone('eight')).setUnits('bit').setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485DataBits.setStatus('current')
hh3cRS485Parity = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("none", 1), ("odd", 2), ("even", 3), ("mark", 4), ("space", 5))).clone('none')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485Parity.setStatus('current')
hh3cRS485StopBits = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("one", 1), ("two", 2), ("oneAndHalf", 3))).clone('one')).setUnits('bit').setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485StopBits.setStatus('current')
hh3cRS485FlowControl = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("hardware", 2), ("xonOrxoff", 3))).clone('none')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485FlowControl.setStatus('current')
hh3cRS485TXCharacters = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cRS485TXCharacters.setStatus('current')
hh3cRS485RXCharacters = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cRS485RXCharacters.setStatus('current')
hh3cRS485TXErrCharacters = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cRS485TXErrCharacters.setStatus('current')
hh3cRS485RXErrCharacters = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cRS485RXErrCharacters.setStatus('current')
hh3cRS485ResetCharacters = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("counting", 1), ("clear", 2))).clone('counting')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485ResetCharacters.setStatus('current')
hh3cRS485RawSessions = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2))
hh3cRS485RawSessionSummary = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 1))
hh3cRS485RawSessionMaxNum = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cRS485RawSessionMaxNum.setStatus('current')
hh3cRS485RawSessionTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2), )
if mibBuilder.loadTexts: hh3cRS485RawSessionTable.setStatus('current')
hh3cRS485RawSessionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HH3C-RS485-MIB", "hh3cRS485SessionIndex"))
if mibBuilder.loadTexts: hh3cRS485RawSessionEntry.setStatus('current')
hh3cRS485SessionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: hh3cRS485SessionIndex.setStatus('current')
hh3cRS485SessionType = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("udp", 1), ("tcpClient", 2), ("tcpServer", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485SessionType.setStatus('current')
hh3cRS485SessionAddType = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1, 3), InetAddressType().clone('ipv4')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hh3cRS485SessionAddType.setStatus('current')
hh3cRS485SessionRemoteIP = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1, 4), InetAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cRS485SessionRemoteIP.setStatus('current')
hh3cRS485SessionRemotePort = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1024, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cRS485SessionRemotePort.setStatus('current')
hh3cRS485SessionLocalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1024, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cRS485SessionLocalPort.setStatus('current')
hh3cRS485SessionStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 2, 1, 7), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hh3cRS485SessionStatus.setStatus('current')
hh3cRS485RawSessionErrInfoTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 3), )
if mibBuilder.loadTexts: hh3cRS485RawSessionErrInfoTable.setStatus('current')
hh3cRS485RawSessionErrInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HH3C-RS485-MIB", "hh3cRS485SessionIndex"))
if mibBuilder.loadTexts: hh3cRS485RawSessionErrInfoEntry.setStatus('current')
hh3cRS485RawSessionErrInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 109, 2, 3, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hh3cRS485RawSessionErrInfo.setStatus('current')
mibBuilder.exportSymbols("HH3C-RS485-MIB", hh3cRS485TXErrCharacters=hh3cRS485TXErrCharacters, hh3cRS485PropertiesEntry=hh3cRS485PropertiesEntry, hh3cRS485SessionRemoteIP=hh3cRS485SessionRemoteIP, hh3cRS485RawSessionErrInfoTable=hh3cRS485RawSessionErrInfoTable, hh3cRS485RawSessionTable=hh3cRS485RawSessionTable, hh3cRS485FlowControl=hh3cRS485FlowControl, hh3cRS485SessionType=hh3cRS485SessionType, hh3cRS485ResetCharacters=hh3cRS485ResetCharacters, hh3cRS485PropertiesTable=hh3cRS485PropertiesTable, hh3cRS485BaudRate=hh3cRS485BaudRate, hh3cRS485RXCharacters=hh3cRS485RXCharacters, hh3cRS485RawSessionNextIndex=hh3cRS485RawSessionNextIndex, hh3cRS485=hh3cRS485, hh3cRS485RawSessions=hh3cRS485RawSessions, hh3cRS485StopBits=hh3cRS485StopBits, hh3cRS485RawSessionMaxNum=hh3cRS485RawSessionMaxNum, hh3cRS485DataBits=hh3cRS485DataBits, hh3cRS485RawSessionEntry=hh3cRS485RawSessionEntry, PYSNMP_MODULE_ID=hh3cRS485, hh3cRS485TXCharacters=hh3cRS485TXCharacters, hh3cRS485RawSessionErrInfo=hh3cRS485RawSessionErrInfo, hh3cRS485SessionAddType=hh3cRS485SessionAddType, hh3cRS485SessionStatus=hh3cRS485SessionStatus, hh3cRS485Parity=hh3cRS485Parity, hh3cRS485RawSessionErrInfoEntry=hh3cRS485RawSessionErrInfoEntry, hh3cRS485RawSessionSummary=hh3cRS485RawSessionSummary, hh3cRS485RXErrCharacters=hh3cRS485RXErrCharacters, hh3cRS485SessionIndex=hh3cRS485SessionIndex, hh3cRS485SessionLocalPort=hh3cRS485SessionLocalPort, hh3cRS485Properties=hh3cRS485Properties, hh3cRS485SessionRemotePort=hh3cRS485SessionRemotePort)
